/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const maintenanceRouter = {
    path: '/maintenance',
    component: Layout,
    redirect: '/maintenance/exitWarning',
    name: 'Om',
    alwaysShow: true,
    meta: {
        title: '运维管理',
        icon: 'el-icon-yunwei'
    },
    children: [{
        path: 'exitWarning',
        name: 'Currentalarm',
        component: () => import('@/views/maintenance/exitWarning'),
        meta: {
            title: '现有告警',
            icon: 'el-icon-gaojing'
        }
    },
        {
            path: 'inforsearch',
            name: 'Information',
            component: () => import('@/views/maintenance/inforSearch'),
            meta: {
                title: '信息查询',
                icon: 'el-icon-xinxichaxun'
            }
        },
        {
            path: 'logextract',
            name: 'Logextract',
            component: () => import('@/views/maintenance/logexTract'),
            meta: {
                title: '日志提取',
                icon: 'el-icon-rizhifuwu'
            }
        },
        {
            path: 'batchsetting',
            name: 'Batchsetting',
            component: () => import('@/views/maintenance/batchSetting'),
            meta: {
                title: '批量参数设置',
                icon: 'el-icon-jurassic_setup-batch'
            }
        },
        {
            path: 'batchControl',
            name: 'BatchControl',
            component: () => import('@/views/maintenance/batchControl'),
            meta: {
                title: '批量控制',
                icon: 'el-icon-piliangkongzhi'
            }
        },
        {
            path: 'historywarning',
            name: 'Historyalarm',
            component: () => import('@/views/maintenance/historyWarning'),
            meta: {
                title: '历史告警',
                icon: 'el-icon-lishigaojing'
            }
        },
        {
            path: 'eventsearch',
            name: 'Event',
            component: () => import('@/views/maintenance/eventSearch'),
            meta: {
                title: '事件查询',
                icon: 'el-icon-shijianchaxun'
            }
        },
        {
            path: 'advertise',
            name: 'Adv',
            component: () => import('@/views/maintenance/advertise'),
            meta: {
                title: '广告发布',
                icon: 'el-icon-guanggao'
            }
        },
        {
            path: 'commLog',
            name: 'CommLog',
            component: () => import('@/views/maintenance/commLog'),
            meta: {
                title: '报文日志',
                icon: 'el-icon-postcard'
            }
        },
        {
            path: 'imagExtract',
            name: 'ImagExtract',
            component: () => import('@/views/maintenance/imagExtract'),
            meta: {
                title: '影像提取',
                icon: 'el-icon-camera'
            }
        },
        {
            path: 'tags',
            component: () => import('@/views/maintenance/tagsManage/index'),
            name: 'Tags',
            meta: {title: '标签管理', icon: "el-icon-collection"}
        },
        {
            path: 'productIntroduction',
            component: () => import('@/views/maintenance/productIntroduction/index'),
            name: 'ProductIntroduction',
            meta: {title: '产品介绍', icon: "el-icon-collection"}
        },
        {
            path: 'advertiseManage',
            component: () => import('@/views/maintenance/advertiseManage/index'),
            name: 'AdvertiseManage',
            meta: {title: '广告管理', icon: "el-icon-s-marketing"}
        }
    ]
}
export default maintenanceRouter
